package com.cn.lp.jpa.cq.test.domain;

import java.util.Optional;

public interface TriggerData<TTrigger extends TaskTrigger> {

    long getStartTime();

    Optional<Long> getEndTime();

    Optional<Long> getNextTriggerTime();

    Optional<Long> getPreviousTriggerTime();

    String getName();

    boolean fill(TTrigger trigger);
}
